package com.mzj.saas.mservice.auth.vo;

import javax.print.DocFlavor;
import java.util.HashMap;

public class ResponseVo {
    private Integer code;
    private String msg;
    private String success;
    private String taskNo;
    private Data data;

    public ResponseVo() {
    }

    public ResponseVo(Integer code, String msg, String success, String taskNo, Data data) {
        this.code = code;
        this.msg = msg;
        this.success = success;
        this.taskNo = taskNo;
        this.data = data;
    }

    /**
     * 获取
     * @return code
     */
    public Integer getCode() {
        return code;
    }

    /**
     * 设置
     * @param code
     */
    public void setCode(Integer code) {
        this.code = code;
    }

    /**
     * 获取
     * @return msg
     */
    public String getMsg() {
        return msg;
    }

    /**
     * 设置
     * @param msg
     */
    public void setMsg(String msg) {
        this.msg = msg;
    }

    /**
     * 获取
     * @return success
     */
    public String getSuccess() {
        return success;
    }

    /**
     * 设置
     * @param success
     */
    public void setSuccess(String success) {
        this.success = success;
    }

    /**
     * 获取
     * @return taskNo
     */
    public String getTaskNo() {
        return taskNo;
    }

    /**
     * 设置
     * @param taskNo
     */
    public void setTaskNo(String taskNo) {
        this.taskNo = taskNo;
    }

    /**
     * 获取
     * @return data
     */
    public Data getData() {
        return data;
    }

    /**
     * 设置
     * @param data
     */
    public void setData(Data data) {
        this.data = data;
    }

    public String toString() {
        return "ResponseVo{code = " + code + ", msg = " + msg + ", success = " + success + ", taskNo = " + taskNo + ", data = " + data + "}";
    }


    public class Data {
        private Integer result;
        private String orderNo;
        private String desc;
        private String sex;
        private String birthday;
        private String address;

        public Data() {
        }

        public Data(Integer result, String orderNo, String desc, String sex, String birthday, String address) {
            this.result = result;
            this.orderNo = orderNo;
            this.desc = desc;
            this.sex = sex;
            this.birthday = birthday;
            this.address = address;
        }

        /**
         * 获取
         * @return result
         */
        public Integer getResult() {
            return result;
        }

        /**
         * 设置
         * @param result
         */
        public void setResult(Integer result) {
            this.result = result;
        }

        /**
         * 获取
         * @return orderNo
         */
        public String getOrderNo() {
            return orderNo;
        }

        /**
         * 设置
         * @param orderNo
         */
        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        /**
         * 获取
         * @return desc
         */
        public String getDesc() {
            return desc;
        }

        /**
         * 设置
         * @param desc
         */
        public void setDesc(String desc) {
            this.desc = desc;
        }

        /**
         * 获取
         * @return sex
         */
        public String getSex() {
            return sex;
        }

        /**
         * 设置
         * @param sex
         */
        public void setSex(String sex) {
            this.sex = sex;
        }

        /**
         * 获取
         * @return birthday
         */
        public String getBirthday() {
            return birthday;
        }

        /**
         * 设置
         * @param birthday
         */
        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        /**
         * 获取
         * @return address
         */
        public String getAddress() {
            return address;
        }

        /**
         * 设置
         * @param address
         */
        public void setAddress(String address) {
            this.address = address;
        }

        public String toString() {
            return "data{result = " + result + ", orderNo = " + orderNo + ", desc = " + desc + ", sex = " + sex + ", birthday = " + birthday + ", address = " + address + "}";
        }
    }


}

